package com.greenbook.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * JWT配置属性类
 * 用于存储JWT相关的配置信息
 */
@Component
@ConfigurationProperties(prefix = "green-book.jwt")
@Data
public class JwtProperties {
    private String secret;
    private Long expiration;
}
